﻿



using System; 
using System.Collections;
using System.Collections.Generic ;
using System.Runtime.Serialization;

namespace ufida.u9.ait.openapi
{
	/// <summary>
	/// 产业链支持_库存调入单DTO Copy DTO :REST自定义的数据传输类型 
	/// 
	/// </summary>
	[DataContract(Namespace = "ufida.u9.ait.openapi")]
	[Serializable]
	public partial class CopyOfIC_TransferInDTOData  
	{
		/// <summary>
		/// Default Constructor
		/// </summary>
		public CopyOfIC_TransferInDTOData()
		{
			initData();
		}
		private void initData()
		{
		
		
		
		
		
					SysVersion= 0; 
				
		
		
		
		
		
		
					SOBAccountPeriod= -1; 
							TransferDirection= 0; 
							OnlyUpdateQty=false; 
					OperationType= -1; 
				
		
					TransferType= -1; 
							Status= -1; 
				

			//调用默认值初始化服务进行配置方式初始化
			UFSoft.UBF.Service.DTOService.InitConfigDefault(this);
		}
		[System.Runtime.Serialization.OnDeserializing]
		internal void OnDeserializing(System.Runtime.Serialization.StreamingContext context)
		{
			 initData();
		}
		#region Do SerializeKey -ForDTODataType
		//只为处理集合型EntityKey。原因集合型EntityKey由于使用臫的集合对象，无法实现数据共享.-UBF专用.
		public void DoSerializeKeyList(IDictionary dict)
		{
			if (dict == null ) dict = new Hashtable() ;
			if (dict[this] != null)
				return ;
			dict[this] = this;
	        	        	        	        	        	        	        			if (this.Org != null) 
			{
				this.Org.DoSerializeKeyList(dict);
			}
	        	        	        			if (this.DescFlexField != null) 
			{
				this.DescFlexField.DoSerializeKeyList(dict);
			}
	        			if (this.TransInDocType != null) 
			{
				this.TransInDocType.DoSerializeKeyList(dict);
			}
	        			if (this.TransInLines!=null)
			{
				foreach(ufida.u9.ait.openapi.CopyOfIC_TransInLineDTOData objdata in this.TransInLines)
				{
					objdata.DoSerializeKeyList(dict);
				}
			}
				        	        	        	        	        	        	        	        	        	        
		}
		#endregion 
		/// <summary>
		/// Constructor Full Argument
		/// </summary>
		public CopyOfIC_TransferInDTOData(  System.Int64 iD  , System.DateTime createdOn  , System.String createdBy  , System.DateTime modifiedOn  , System.String modifiedBy  , System.Int64 sysVersion  , ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData org  , System.String docNo  , System.DateTime businessDate  , ufida.u9.ait.openapi.CopyOfDescFlexSegmentsData descFlexField  , ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData transInDocType  , List<ufida.u9.ait.openapi.CopyOfIC_TransInLineDTOData> transInLines  , System.String memo  , System.Int64 sOBAccountPeriod  , System.Int32 transferDirection  , System.Boolean onlyUpdateQty  , System.Int32 operationType  , System.String approvedBy  , System.DateTime approvedOn  , System.Int32 transferType  , System.Int32 status  , System.String businessDate1  )
		{
			initData();
			this.ID = iD;
			this.CreatedOn = createdOn;
			this.CreatedBy = createdBy;
			this.ModifiedOn = modifiedOn;
			this.ModifiedBy = modifiedBy;
			this.SysVersion = sysVersion;
			this.Org = org;
			this.DocNo = docNo;
			this.BusinessDate = businessDate;
			this.DescFlexField = descFlexField;
			this.TransInDocType = transInDocType;
			this.TransInLines = transInLines;
			this.Memo = memo;
			this.SOBAccountPeriod = sOBAccountPeriod;
			this.TransferDirection = transferDirection;
			this.OnlyUpdateQty = onlyUpdateQty;
			this.OperationType = operationType;
			this.ApprovedBy = approvedBy;
			this.ApprovedOn = approvedOn;
			this.TransferType = transferType;
			this.Status = status;
			this.BusinessDate1 = businessDate1;
		}
		#region System Fields 
		//--系统字段,目前没有.EntityData上有相应的字段,用于保存相关的实体状态信息,DTO上没有状态信息.	
		#endregion
		
		#region DTO Properties 
	
		

		/// <summary>
		/// ID
		/// 产业链支持_库存调入单DTO Copy.Key.ID
		/// </summary>
		private System.Int64 m_iD ;
		[DataMember(IsRequired=false)]
		public System.Int64 ID
		{
			get	
			{	
				return m_iD ;
			}
			set	
			{	
				m_iD = value ;	
			}
		}
			
		

		/// <summary>
		/// 创建时间
		/// 产业链支持_库存调入单DTO Copy.Sys.创建时间
		/// </summary>
		private System.DateTime m_createdOn ;
		[DataMember(IsRequired=false)]
		public System.DateTime CreatedOn
		{
			get	
			{	
				return m_createdOn ;
			}
			set	
			{	
				m_createdOn = value ;	
			}
		}
			
		

		/// <summary>
		/// 创建人
		/// 产业链支持_库存调入单DTO Copy.Sys.创建人
		/// </summary>
		private System.String m_createdBy ;
		[DataMember(IsRequired=false)]
		public System.String CreatedBy
		{
			get	
			{	
				return m_createdBy ;
			}
			set	
			{	
				m_createdBy = value ;	
			}
		}
			
		

		/// <summary>
		/// 修改时间
		/// 产业链支持_库存调入单DTO Copy.Sys.修改时间
		/// </summary>
		private System.DateTime m_modifiedOn ;
		[DataMember(IsRequired=false)]
		public System.DateTime ModifiedOn
		{
			get	
			{	
				return m_modifiedOn ;
			}
			set	
			{	
				m_modifiedOn = value ;	
			}
		}
			
		

		/// <summary>
		/// 修改人
		/// 产业链支持_库存调入单DTO Copy.Sys.修改人
		/// </summary>
		private System.String m_modifiedBy ;
		[DataMember(IsRequired=false)]
		public System.String ModifiedBy
		{
			get	
			{	
				return m_modifiedBy ;
			}
			set	
			{	
				m_modifiedBy = value ;	
			}
		}
			
		

		/// <summary>
		/// 事务版本
		/// 产业链支持_库存调入单DTO Copy.Sys.事务版本
		/// </summary>
		private System.Int64 m_sysVersion ;
		[DataMember(IsRequired=false)]
		public System.Int64 SysVersion
		{
			get	
			{	
				return m_sysVersion ;
			}
			set	
			{	
				m_sysVersion = value ;	
			}
		}
			
		

		/// <summary>
		/// 组织
		/// 产业链支持_库存调入单DTO Copy.Misc.组织
		/// </summary>
		private ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData m_org ;
		[DataMember(IsRequired=false)]
		public ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData Org
		{
			get	
			{	
				return m_org ;
			}
			set	
			{	
				m_org = value ;	
			}
		}
			
		

		/// <summary>
		/// 单号
		/// 产业链支持_库存调入单DTO Copy.Misc.单号
		/// </summary>
		private System.String m_docNo ;
		[DataMember(IsRequired=false)]
		public System.String DocNo
		{
			get	
			{	
				return m_docNo ;
			}
			set	
			{	
				m_docNo = value ;	
			}
		}
			
		

		/// <summary>
		/// 日期
		/// 产业链支持_库存调入单DTO Copy.Misc.日期
		/// </summary>
		private System.DateTime m_businessDate ;
		[DataMember(IsRequired=false)]
		public System.DateTime BusinessDate
		{
			get	
			{	
				return m_businessDate ;
			}
			set	
			{	
				m_businessDate = value ;	
			}
		}
			
		

		/// <summary>
		/// 实体扩展字段
		/// 产业链支持_库存调入单DTO Copy.Misc.实体扩展字段
		/// </summary>
		private ufida.u9.ait.openapi.CopyOfDescFlexSegmentsData m_descFlexField ;
		[DataMember(IsRequired=false)]
		public ufida.u9.ait.openapi.CopyOfDescFlexSegmentsData DescFlexField
		{
			get	
			{	
				return m_descFlexField ;
			}
			set	
			{	
				m_descFlexField = value ;	
			}
		}
			
		

		/// <summary>
		/// 单据类型
		/// 产业链支持_库存调入单DTO Copy.A_基本信息.单据类型
		/// </summary>
		private ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData m_transInDocType ;
		[DataMember(IsRequired=false)]
		public ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData TransInDocType
		{
			get	
			{	
				return m_transInDocType ;
			}
			set	
			{	
				m_transInDocType = value ;	
			}
		}
			
		

		/// <summary>
		/// 调入单行
		/// 产业链支持_库存调入单DTO Copy.关联.调入单行
		/// </summary>
		private List<ufida.u9.ait.openapi.CopyOfIC_TransInLineDTOData> m_transInLines ;
		[DataMember(IsRequired=false)]
		public List<ufida.u9.ait.openapi.CopyOfIC_TransInLineDTOData> TransInLines
		{
			get	
			{	
				if (m_transInLines == null )
				{
					List<ufida.u9.ait.openapi.CopyOfIC_TransInLineDTOData> n_m_list = new List<ufida.u9.ait.openapi.CopyOfIC_TransInLineDTOData>() ;
					m_transInLines = n_m_list ;
				}
				return m_transInLines ;
			}
			set	
			{	
				m_transInLines = value ;	
			}
		}
			
		

		/// <summary>
		/// 备注
		/// 产业链支持_库存调入单DTO Copy.A_基本信息.备注
		/// </summary>
		private System.String m_memo ;
		[DataMember(IsRequired=false)]
		public System.String Memo
		{
			get	
			{	
				return m_memo ;
			}
			set	
			{	
				m_memo = value ;	
			}
		}
			
		

		/// <summary>
		/// 记账期间
		/// 产业链支持_库存调入单DTO Copy.A_基本信息.记账期间
		/// </summary>
		private System.Int64 m_sOBAccountPeriod ;
		[DataMember(IsRequired=false)]
		public System.Int64 SOBAccountPeriod
		{
			get	
			{	
				return m_sOBAccountPeriod ;
			}
			set	
			{	
				m_sOBAccountPeriod = value ;	
			}
		}
			
		

		/// <summary>
		/// 调拔方向
		/// 产业链支持_库存调入单DTO Copy.Misc.调拔方向
		/// </summary>
		private System.Int32 m_transferDirection ;
		[DataMember(IsRequired=false)]
		public System.Int32 TransferDirection
		{
			get	
			{	
				return m_transferDirection ;
			}
			set	
			{	
				m_transferDirection = value ;	
			}
		}
			
		

		/// <summary>
		/// 仅更新数量
		/// 产业链支持_库存调入单DTO Copy.Misc.仅更新数量
		/// </summary>
		private System.Boolean m_onlyUpdateQty ;
		[DataMember(IsRequired=false)]
		public System.Boolean OnlyUpdateQty
		{
			get	
			{	
				return m_onlyUpdateQty ;
			}
			set	
			{	
				m_onlyUpdateQty = value ;	
			}
		}
			
		

		/// <summary>
		/// 操作类型
		/// 产业链支持_库存调入单DTO Copy.Misc.操作类型
		/// </summary>
		private System.Int32 m_operationType ;
		[DataMember(IsRequired=false)]
		public System.Int32 OperationType
		{
			get	
			{	
				return m_operationType ;
			}
			set	
			{	
				m_operationType = value ;	
			}
		}
			
		

		/// <summary>
		/// 审核人
		/// 产业链支持_库存调入单DTO Copy.Misc.审核人
		/// </summary>
		private System.String m_approvedBy ;
		[DataMember(IsRequired=false)]
		public System.String ApprovedBy
		{
			get	
			{	
				return m_approvedBy ;
			}
			set	
			{	
				m_approvedBy = value ;	
			}
		}
			
		

		/// <summary>
		/// 审核日期
		/// 产业链支持_库存调入单DTO Copy.Misc.审核日期
		/// </summary>
		private System.DateTime m_approvedOn ;
		[DataMember(IsRequired=false)]
		public System.DateTime ApprovedOn
		{
			get	
			{	
				return m_approvedOn ;
			}
			set	
			{	
				m_approvedOn = value ;	
			}
		}
			
		

		/// <summary>
		/// 调拨类型
		/// 产业链支持_库存调入单DTO Copy.Misc.调拨类型
		/// </summary>
		private System.Int32 m_transferType ;
		[DataMember(IsRequired=false)]
		public System.Int32 TransferType
		{
			get	
			{	
				return m_transferType ;
			}
			set	
			{	
				m_transferType = value ;	
			}
		}
			
		

		/// <summary>
		/// 状态
		/// 产业链支持_库存调入单DTO Copy.Misc.状态
		/// </summary>
		private System.Int32 m_status ;
		[DataMember(IsRequired=false)]
		public System.Int32 Status
		{
			get	
			{	
				return m_status ;
			}
			set	
			{	
				m_status = value ;	
			}
		}
			
		

		/// <summary>
		/// 日期
		/// 产业链支持_库存调入单DTO Copy.Misc.日期
		/// </summary>
		private System.String m_businessDate1 ;
		[DataMember(IsRequired=false)]
		public System.String BusinessDate1
		{
			get	
			{	
				return m_businessDate1 ;
			}
			set	
			{	
				m_businessDate1 = value ;	
			}
		}
			
		#endregion	

		#region Multi_Fields
																																												
		#endregion 
	} 	
}
